***********************************************************************************
Flight Dynamics for the Savoia Marchetti S.M.79bis with Alfa Romeo 128/RC18 engines
***********************************************************************************


[fltsim.0]
title=SM79bis SPARVIERO TORPEDO A.N.R.-1
sim=SM79bis
model=torpedo_2
panel=
sound=
texture=ANR
kb_reference=SM79bis_ref
ui_manufacturer=Savoia Marchetti
ui_type=SM.79 Bis Sparviero/Torpedo Bomber
ui_variation=Gruppo Buscaglia,ANR/RSI,Italy 1944.
description=When the Italians surrendered on September 8,1943, it did not end the combat record of the SM.79, and a new version, the S.M.79-Bis/NM, was placed in production by the RSI, the fascist government in northern Italy.This "Sparviero" operated with "Gruppo Buscaglia"/Aeronautica Nazionale Repubblicana/Repubblica Sociale Italiana. By Manuele Villa & ItalianWings ,February 2008.
kb_checklists=
atc_id_color=0000000000
visual_damage=0

[fltsim.1]
title=SM79 SPARVIERO TRANSPORT
sim=SM79bis
model=PB
panel=
sound=
texture=pb
kb_reference=SM79bis_ref
ui_manufacturer=Savoia Marchetti
ui_type=SM.79 Bis Sparviero/Transport
ui_variation=Italian Air Force,Italy 1946.
description=Some SM.79s were converted into various versions of utility transports during the last phases of the war and survived in that role until 1952.By Manuele Villa & ItalianWings ,February 2008.
kb_checklists=
atc_id_color=0000000000
visual_damage=0

[fltsim.2]
title=SM79 SPARVIERO ICAF
sim=SM79bis
model=PB
panel=
sound=
texture=ICAF
kb_reference=SM79bis_ref
ui_manufacturer=Savoia Marchetti
ui_type=SM.79 Bis Sparviero/Transport
ui_variation=Italian Co-Belligerant Air Force,Italy 1944.
description=Some SM.79s were converted into various versions of utility transports during the last phases of the war and survived in that role until 1952.By Manuele Villa & ItalianWings ,February 2008.
kb_checklists=
atc_id_color=0000000000
visual_damage=0

[General]
atc_type= 
atc_model= 
performance=Press F10 and then lowest icon for step by step on screen handling notes. See also 'Understanding the SM79.txt'. 
editable=0

[Views]
eyepoint=1.25,-1.15,4.78 

[weight_and_balance]

max_gross_weight = 24000
empty_weight = 15650		//estimated prepared for service weight
reference_datum_position = 0, 0, 0
empty_weight_CG_position = 0, 0, 0
empty_weight_pitch_MOI = 80000
empty_weight_roll_MOI = 200000
empty_weight_yaw_MOI = 235000
empty_weight_coupled_MOI = 0

station_load.0 = 800, 0, 0, 0, Pilot&Crew //pilot and crew=4
station_load.1 = 0, 0, 0, 0, torpedo_1927lbs //(1)torpedo=876kg/1927lbs

//station_load.0 =  800, 0, 0, 0	//pilot and crew=4
//station_load.1 = 2100, 0, 0, 0  //torpedo and crutch (move left of centreline for added handling complexity)


[lights]

//Types: 1=beacon, 2=strobe, 3=navigation, 4=cockpit, 5=landing

light.0 = 3, -0.52, 34.38, 1.13, fx_navredsml
light.1 = 3, -0.55, -34.38, 1.13, fx_navgresml
light.2 = 3, -37.43, 0, 2.08, fx_navwhisml
light.3 = 4, 1.15, 0, 4.94, fx_vclight_offwhi
light.4 = 5, 5.23, 0.02, -1.73, fx_SM79_landing_1
light.5 = 5, 14.13, 0, -5.03, fx_sm79_landing_2

[GeneralEngineData]


fuel_flow_scalar = 1

engine.0 = 7.09, -8.64, -0.58
engine.1 = 12.79,  0   ,  1.42
engine.2 = 7.09,  8.64, -0.58

[effects]
dirt = fx_tchdrt
concrete = fx_sparks
touchdown = fx_tchdwn_s, 1

[fuel]

//Longitudinal (feet), Lateral (feet), Vertical (feet), Usable(gallons), Unusable (gallons)

fuel_type = 1
number_of_tank_selectors = 2

Center1 = 0, 0, 0, 258, 0	//increased max gross deepite structural weight reduction with increased range and same payload implies more fuel than SM79M but revised tankage uncertain and estimated.
LeftMain = 0, 0, 0, 325, 0
RightMain = 0, 0, 0, 325, 0
electric_pump=0


[contact_points]
static_pitch = 11.66
static_cg_height = 7.4
tailwheel_lock = 1
max_number_of_points = 14

point.0 = 1, -26.7, 0, -2.2,  800, 0, 0.692, 60, 0.25, 2.5, 0.396, 5,  6, 0, 121, 121
point.1 = 1,   1,  -9, -7.9, 1200, 1, 0.692,  0, 0.4 , 2.5, 0.827, 7, 10, 2, 121, 121
point.2 = 1,   1,   9, -7.9, 1200, 2, 0.692,  0, 0.4 , 2.5, 0.827, 9, 12, 3, 121, 121
point.3 = 2, 11.575, 0, 0, 55, 0, 0, 0, 0, 0, 0, 0, 0, 4
point.4 = 2, 11, 0, -2.82, 3000, 0, 0, 0, 0, 0, 0, 0, 0, 4
point.5 = 2, 5.245, 0, -2.82, 3000, 0, 0, 0, 0, 0, 0, 0, 0, 4
point.6 = 2, -31.425, 0, 0, 3000, 0, 0, 0, 0, 0, 0, 0, 0, 4
point.7 = 2, -2.725, -31.935, 2.67, 787, 0, 0, 0, 0, 0, 0, 0, 0, 5
point.8 = 2, -2.725, 31.935, 2.67, 787, 0, 0, 0, 0, 0, 0, 0, 0, 6
point.9 = 2, -2.725, -21, 2.97, 1000, 0, 0, 0, 0, 0, 0, 0, 0, 5
point.10 = 2, -2.725, 21, 2.97, 1000, 0, 0, 0, 0, 0, 0, 0, 0, 6
point.11 = 2, -31.125, 0, 8.5, 1000, 0, 0, 0, 0, 0, 0, 0, 0, 9
point.12 = 2, 9.825, -8.9, -4, 3000, 0, 0, 0, 0, 0, 0, 0, 0, 4
point.13 = 2, 9.825, 8.9, -4, 3000, 0, 0, 0, 0, 0, 0, 0, 0, 4
gear_system_type=0


[keyboard_response]
elevator = 200, 1000
aileron = 200, 1000
rudder = 200, 1000


[forcefeedback]
gear_bump_nose_magnitude = 6000
gear_bump_nose_direction = 18000
gear_bump_nose_duration = 250000
gear_bump_left_magnitude = 6000
gear_bump_left_direction = 35500
gear_bump_left_duration = 250000
gear_bump_right_magnitude = 6000
gear_bump_right_direction = 500
gear_bump_right_duration = 250000
ground_bumps_magnitude1 = 3250
ground_bumps_angle1 = 8900
ground_bumps_intercept1 = 5
ground_bumps_slope1 = 0.48
ground_bumps_magnitude2 = 750
ground_bumps_angle2 = 9100
ground_bumps_intercept2 = 0.075
ground_bumps_slope2 = 1
crash_magnitude1 = 10000
crash_direction1 = 1000
crash_magnitude2 = 10000
crash_direction2 = 9000
crash_period2 = 75000
crash_duration2 = 2500000

[airplane_geometry]
//ACM_AREAW1// 0,0,0,3.0480,1.1768,1.1768,0,2.8956,2.3537,2.3537
//ACM_AREAW2// 0,2.7432,3.5305,3.5305,0,2.5908,4.7074,4.7074,0,2.4384
//ACM_AREAW3// 5.8843,5.8843,0,2.2860,7.0611,7.0611,0,2.1335,8.2380,8.2380
//ACM_AREAW4// 0,1.9812,9.4149,9.4149,0,1.8288,10.5917,10.5917,0,1.6764
//ACM_AREAH1// 0,0,0,2.0320,0.3386,0.3386,0.2841,2.2145,0.6773,0.6773
//ACM_AREAH2// 0.5683,2.3971,1.0160,1.0160,0.8525,2.5797,1.3546,1.3546,1.1367,2.7623
//ACM_AREAH3// 1.6933,1.6933,1.4208,2.9448,2.0320,2.0320,1.7050,3.1274,2.3706,2.3706
//ACM_AREAH4// 1.9892,3.3100,2.7093,2.7093,2.2734,3.4926,3.0480,3.0480,2.5575,3.6751
//ACM_AREAV1// 0,0,0,3.0480,0.3386,0.3386,0.3386,3.1428,0.6773,0.6773
//ACM_AREAV2// 0.6773,3.2376,1.0160,1.0160,1.0160,3.3324,1.3546,1.3546,1.3546,3.4273
//ACM_AREAV3// 1.6933,1.6933,1.6933,3.5221,2.0320,2.0320,2.0320,3.6169,2.3706,2.3706
//ACM_AREAV4// 2.3706,3.7117,2.7093,2.7093,2.7093,3.8066,3.0480,3.0480,3.0480,3.9014
//ACM_CAREAW1// 5.2958,5.2958,1.5240,2.1335,5.8843,5.8843,1.5240,2.1031,6.4727,6.4727
//ACM_CAREAW2// 1.5240,2.0726,7.0611,7.0611,1.5240,2.0421,7.6496,7.6496,1.5240,2.0116
//ACM_CAREAW3// 8.2380,8.2380,1.5240,1.9812,8.8264,8.8264,1.5240,1.9507,9.4149,9.4149
//ACM_CAREAW4// 1.5240,1.9202,10.0033,10.0033,1.5240,1.8897,10.5917,10.5917,1.5240,1.8592
//ACM_CAREAH1// 0,0,1.0160,2.0320,0.3386,0.3386,1.3001,2.2653,0.6773,0.6773
//ACM_CAREAH2// 1.5843,2.4987,1.0160,1.0160,1.8685,2.7321,1.3546,1.3546,2.1527,2.9655
//ACM_CAREAH3// 1.6933,1.6933,2.4368,3.1988,2.0320,2.0320,2.7210,3.4322,2.3706,2.3706
//ACM_CAREAH4// 3.0052,3.6656,2.7093,2.7093,3.2894,3.8990,3.0480,3.0480,3.5735,4.1323
//ACM_CAREAV1// 0,0,0.7620,2.2860,0.3386,0.3386,1.1006,2.5027,0.6773,0.6773
//ACM_CAREAV2// 1.4393,2.7194,1.0160,1.0160,1.7780,2.9362,1.3546,1.3546,2.1166,3.1529
//ACM_CAREAV3// 1.6933,1.6933,2.4553,3.3697,2.0320,2.0320,2.7940,3.5864,2.3706,2.3706
//ACM_CAREAV4// 3.1326,3.8032,2.7093,2.7093,3.4713,4.0199,3.0480,3.0480,3.8100,4.2367
wing_area = 656.6
wing_span = 69.5
wing_root_chord = 10
wing_dihedral = 0
wing_incidence = 0
wing_twist = 0
oswald_efficiency_factor = 0.75
wing_winglets_flag = 0
wing_sweep = 0
wing_pos_apex_lon = 2.4
wing_pos_apex_vert = -2.500
htail_area = 175.000
htail_span = 20.000
htail_pos_lon = -36.000
htail_pos_vert = 0.000
htail_incidence = 0.000
htail_sweep = 40.000
vtail_area = 81.200
vtail_span = 10.000
vtail_sweep = 45.000
vtail_pos_lon = -36.000
vtail_pos_vert = 3.400
elevator_area = 75.000
aileron_area = 37.100
rudder_area = 37.000
elevator_up_limit = 18.000
elevator_down_limit = 15.000
aileron_up_limit = 18.000
aileron_down_limit = 18.000
rudder_limit = 25.000
elevator_trim_limit = 20.000
spoiler_limit = 60
aileron_to_spoileron_gain = 0
min_ailerons_for_spoilerons = 0
min_flaps_for_spoilerons = 0
spoilerons_available = 0

[electrical]
max_battery_voltage = 24
generator_alternator_voltage = 28
max_generator_alternator_amps = 160
electric_always_available = 1
flap_motor = 0, 5, 17
gear_motor = 0, 5, 17
autopilot = 1, 5, 17
avionics_bus = 0, 10, 17
avionics = 1, 5, 17
pitot_heat = 1, 15, 17
additional_system = 0, 20, 17
gear_warning = 1, 2, 17
fuel_pump = 0, 5, 17
starter1 = 0, 20, 17
starter2 = 0, 20, 17
starter3 = 0, 20, 17
light_nav = 0, 5, 17
light_landing = 0, 5, 17
light_panel = 0, 5, 17
standby_vacuum = 0, 15, 17
hydraulic_pump = 0, 2, 17
fuel_transfer_pump = 0, 5, 17

[piston_engine]

Alfa Romeo 128/R.C.18 = licence built Bristol Pegasus with Hamilton Standard c/s screws was rated as follows;

TOGA and War Energency = 930hp at 1.4 C2 and 2415 rpm below 1800 metres

(Combat) Rated Power = 860hp at 1.26 C2 and 2300 rpm at 1800 metres 

Climb power 735hp at 1.09 C2 and 2200 rpm at 3Km 

Design cruise 550hp at 0.92 C2 and 1950 rpm at 4Km

Econ cruise 460hp at 0.82 C2 and 1900 rpm at 5Km

No de-icing other than pitot heat and carb heat. This engine had automixture in real life. Make sure automixture is selected ON in the FS9 realism screen before simulating operation of the S.M.79bis

critical_altitude=5900 	    //TOGA and WEP
cylinder_displacement=194.78 
compression_ratio=6.3 
number_of_cylinders=9 
max_rated_rpm=2415 	    //TOGA and WEP 
max_rated_hp=930 	    //TOGA and WEP
fuel_metering_type=1    
cooling_type=0 
normalized_starter_torque=3 
turbocharged=1 
max_design_mp=41.2	
min_design_mp=0 
emergency_boost_type=0 
emergency_boost_mp_offset=0.000000 
emergency_boost_gain_offset=0.000000 
fuel_air_auto_mixture=0 
auto_ignition=0 
max_rpm_mechanical_efficiency_scalar=1.000000 
idle_rpm_mechanical_efficiency_scalar=1.000000 
max_rpm_friction_scalar=1.000000 
idle_rpm_friction_scalar=1.000000 

[propeller]
propeller_type=0 
propeller_blades=3 
rotation=-1,-1,-1         //Engine 1,2,3,... Rotation direction. 1 = Clockwise and -1 = Counter Clockwise
gear_reduction_ratio=1.53 
propeller_diameter=10 
propeller_moi=10 
beta_max=40 
beta_min=15 
prop_sync_available=0 
prop_deice_available=0 
prop_feathering_available=1
min_rpm_for_feather=600
defeathering_accumulators_available=1
prop_reverse_available=0 
min_rpm_for_feather=0 
beta_feather=0.0 
power_absorbed_cf=0 
minimum_on_ground_beta=10.0 
minimum_reverse_beta=0 
prop_auto_feathering_available=0 
min_gov_rpm=650.000000 
prop_tc=0.010000 
fixed_pitch_beta=0 
low_speed_theory_limit=80.000000 

[Flaps.0]
Powerful full span Fairey camber changing gear is slow moving and quite fragile. In real life any setting was available and probably measured in per cent with variation of % deployed versus landing weight. I have supplied three key settings which should work for any landing weight.The almost full span Handley Page leading edge slats are automatic. They will open (dynamically) at any IAS to preclude (high G) stall.

type= 1
span-outboard= 0.550
extending-time= 15			
system_type= 0
flaps-position.0= 0,0
flaps-position.1= 12, 121		; 31% Vfe1 maybe 220 KmIAS
flaps-position.2= 24, 110		; 63% Vfe2 maybe 200 KMIAS
flaps-position.3= 38,  96		;100% Vfe3 maybe 175 KmIAS

[gear_warning_system]
gear_warning_available=1
pct_throttle_limit=0.11
flap_limit_power=25
flap_limit_idle=13

[Reference Speeds]
flaps_up_stall_speed=69.6 	//Handley Page automatic slats deliver low Vs, but at unusually high alpha	
full_flaps_stall_speed=56 	//estimated Vs0 with fully deployed camber changing gear (plus slats)
cruise_speed=225 		//design cruise was 225 KTAS at 4Km in clean condition
max_indicated_speed= 272	//nominally set to 500 KmIAS actual value unknown	

[Radios]
Com.1=1, 0 
Com.2=1, 0 
Nav.1=1, 0, 0 	
Nav.2=0, 0, 0 
Adf.1=1 	
Adf.2= 0
Transponder.1=1 	
Audio.1=1 
Marker.1=1 	

[brakes]
parking_brake    = 1     
toe_brakes_scale = 0.2  ;drum brakes at this date were ineffective and subject to fading. Landing roll with max braking was 28% longer than take off roll and only reduced the unbraked landing roll by 30%.
[hydraulic_system]
normal_pressure = 732.0     //PSI
electric_pumps  = 0         //no electric pumps
engine_map      = 1,1,0,0   //pumps on Eng1,2
[direction_indicators]
direction_indicator.0=1,0 
direction_indicator.1=2,0

[pneumatic_system]
max_pressure=18.000000
bleed_air_scalar=0.000000

[attitude_indicators]
attitude_indicator.0 = 1 
attitude_indicator.1 = 2 
[turn_indicators]
turn_indicator.0=2,0

[autopilot]
autopilot_available= 1
direction_indicator=1
attitude_indicator =0
default_pitch_mode=0
max_bank=3  
max_bank_acceleration=1
max_bank_velocity=3
default_bank_mode=2     
default_vertical_speed=0
autothrottle_available=0
pitch_takeoff_ga=8.000000
max_pitch=0
max_pitch_acceleration=0
max_pitch_velocity_lo_alt=0
max_pitch_velocity_hi_alt=0
max_pitch_velocity_lo_alt_breakpoint=0
max_pitch_velocity_hi_alt_breakpoint=0
max_throttle_rate=0.100000
nav_proportional_control=9.000000
nav_integrator_control=0.250000
nav_derivative_control=0.000000
nav_integrator_boundary=2.500000
nav_derivative_boundary=0.000000
gs_proportional_control=9.520000
gs_integrator_control=0.260000
gs_derivative_control=0.000000
gs_integrator_boundary=0.700000
gs_derivative_boundary=0.000000
yaw_damper_gain=0.000000

[stall_warning]
type=1						;unlikely in real life
[exits]
number_of_exits = 1
exit_rate.0 = 0.4                             

[TailHook]
Tailhook_Length               =1
Tailhook_Position             =0, 0, 0                
Cable_Force_Adjust            =0
[flight_tuning]
p_factor_on_yaw          = 0.01
torque_on_roll           = 0.01
gyro_precession_on_yaw   = 0.01
gyro_precession_on_pitch = 0.01